package com.design.patterns.template;

/**
 * @Author: jinxuan
 * @Date: 2021/3/3 14:13
 */
public class TemplatePatternDemo {
    public static void main(String[] args) {

        Game game = new Cricket();
        game.play();
        System.out.println();
        game = new Football();
        game.play();
    }
}
